<?php
include 'engine.php';
include 'data/db.php';
echo 'Hello, World! My name is <b>'.$engine.'</b> v'.$version.'';
//bd
echo '<br><br>-----> <b>DB SELECT</b>----->';
include_once 'connect.php';
//bd
function SELECT($conn) {
    $sql = 'SELECT name, color, calories FROM fruit ORDER BY name';
    foreach ($conn->query($sql) as $row) {
        print $row['name'] . "\t";
        print $row['color'] . "\t";
        print $row['calories'] . "\n";
    }
}
//echo $sel;

//Copyrights
echo '<br/><br/>Copyright by <b>'.$author.'</b> 2012 (c) <br/>'.$engine.'</b> v'.$version.'<br> Author url <a href="'.$site.'">www.kv4nt.com</a>';
?>
